<%-- 
    Document   : ManageTeam
    Created on : Jan 9, 2012, 9:53:21 PM
    Author     : ASUS
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Manage Team</title>
    </head>
    <body>
         <table>
            <tr><td>
                    </br></br>
            <b>Select Module for Evaluation :- &nbsp;&nbsp;</b>
        <s:form namespace="/team" action="manageModuleTeam_%{selectedModule}">
         <s:actionerror/>
         <s:select id="module" name="selectedModule" list="{'M-001','M-002','M-003','M-004'}" />
         <s:submit label="select Module"/>
        </s:form>            
       </br> </br>  
        </td>
       </tr>
       <tr>
           <td>
               <span id="url">
               </span>        
       </td>
            </tr>
            
        </table>
    
        
    <SCRIPT language="javascript">
        function giveURL(url) {
           var team = document.getElementById(url);
           var label1=document.createElement("span");   
           var url1=document.getElementById('module').options[document.getElementById('module').selectedIndex].value;
         label1.innerHTML= " <a href='team/manageModuleTeam_"+url1+"'/>Manage Teams</a>";
           team.appendChild(label1);                
        }
      </SCRIPT>
          </body>

</html>
